(#) androidx.navigation:navigation-common

Name
:   Navigation Common
Description
:   Android Navigation-Common
License
:   [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
Vendor
:   Android Open Source Project
Identifier
:   androidx.navigation.common
Feedback
:   https://issuetracker.google.com/issues/new?component=409828
Min
:   Lint 8.0 and 8.1
Compiled
:   Lint 8.7+
Artifact
:   androidx.navigation:navigation-common:2.9.0-alpha04

(##) Included Issues

|Issue Id                                                                |Issue Description                                                                                                                                                                                                                |
|------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|[EmptyNavDeepLink](EmptyNavDeepLink.md.html)                            |NavDeepLink must define an uri, action, and/or mimetype to be valid                                                                                                                                                              |
|[WrongStartDestinationType](WrongStartDestinationType-3.md.html)        |If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.|
|[MissingSerializableAnnotation](MissingSerializableAnnotation-3.md.html)|Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable                                                                                                                                             |
|[MissingKeepAnnotation](MissingKeepAnnotation-3.md.html)                |In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep                                                                                                       |

(##) Including

!!!
   This is not a built-in check. To include it, add the below dependency
   to your project.

```
// build.gradle.kts
implementation("androidx.navigation:navigation-common:2.9.0-alpha04")

// build.gradle
implementation 'androidx.navigation:navigation-common:2.9.0-alpha04'

// build.gradle.kts with version catalogs:
implementation(libs.navigation.common)

# libs.versions.toml
[versions]
navigation-common = "2.9.0-alpha04"
[libraries]
# For clarity and text wrapping purposes the following declaration is
# shown split up across lines, but in TOML it needs to be on a single
# line (see https://github.com/toml-lang/toml/issues/516) so adjust
# when pasting into libs.versions.toml:
navigation-common = {
    module = "androidx.navigation:navigation-common",
    version.ref = "navigation-common"
}
```

2.9.0-alpha04 is the version this documentation was generated from;
there may be newer versions available.

(##) Changes

* 2.6.0: First version includes EmptyNavDeepLink.
* 2.8.0: Adds WrongStartDestinationType.
* 2.8.3: Adds MissingKeepAnnotation, MissingSerializableAnnotation.

(##) Version Compatibility

There are multiple older versions available of this library:

| Version            | Date     | Issues | Compatible | Compiled      | Requires |
|-------------------:|----------|-------:|------------|--------------:|---------:|
|       2.9.0-alpha04|2024/12/11|       4|         Yes|           8.7+|8.0 and 8.1|
|       2.9.0-alpha03|2024/11/13|       4|         Yes|    8.0 and 8.1|8.0 and 8.1|
|       2.9.0-alpha02|2024/10/30|       4|         Yes|    8.0 and 8.1|8.0 and 8.1|
|       2.9.0-alpha01|2024/10/16|       4|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.8.5|2024/12/11|       4|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.8.4|2024/11/13|       4|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.8.3|2024/10/16|       4|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.8.2|2024/10/02|       2|      No[^1]|    8.0 and 8.1|8.0 and 8.1|
|               2.8.1|2024/09/18|       2|      No[^1]|    8.0 and 8.1|8.0 and 8.1|
|               2.8.0|2024/09/04|       2|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.7.7|2024/02/07|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.7.6|2023/12/13|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.7.5|2023/11/01|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.7.4|2023/10/04|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.7.3|2023/09/20|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.7.2|2023/09/06|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.7.1|2023/08/23|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.7.0|2023/08/09|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|
|               2.6.0|2023/06/07|       1|         Yes|    8.0 and 8.1|8.0 and 8.1|

Compatibility Problems:

[^1]: com.android.tools.lint.checks.infrastructure.LintDetectorTest#kotlin(java.lang.String): com.android.tools.lint.checks.infrastructure.TestFile is not available  

<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script src="https://morgan3d.github.io/markdeep/latest/markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>